/**
 * 
 */
package remato.domain.server.ejb;

import static javax.persistence.GenerationType.AUTO;
import static javax.persistence.InheritanceType.TABLE_PER_CLASS;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.Lob;

import remato.domain.common.UseCaseDefinition;
import remato.domain.common.impl.UseCaseDefinitionImpl;

/**
 * @author Petter L. H. Eide
 *
 */
@Entity
@Inheritance(strategy=TABLE_PER_CLASS)
public class UseCaseDefinitionEjb extends UseCaseDefinitionImpl implements UseCaseDefinition {

	@Override
	@Id
	@GeneratedValue(strategy=AUTO)
	public Long getDbId() {
		return super.getDbId();
	}

	@Override
	public String getName() {
		return super.getName();
	}

	@Override
	@Lob
	public String getDescription() {
		return super.getDescription();
	}

	@Override
	@Basic
	public byte[] getXml() {
		return super.getXml();
	}

	
}
